package com.hqyj.javaSpringBoot.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ResourcesConfigBean {

    @Value("/image/")
    private String path;
    @Value("/image/**")
    private String pathPattern;
    @Value("d:/image/")
    private String windowsLocation;
    @Value("/image/")
    private String linuxLocation;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPathPattern() {
        return pathPattern;
    }

    public void setPathPattern(String pathPattern) {
        this.pathPattern = pathPattern;
    }

    public String getWindowsLocation() {
        return windowsLocation;
    }

    public void setWindowsLocation(String windowsLocation) {
        this.windowsLocation = windowsLocation;
    }

    public String getLinuxLocation() {
        return linuxLocation;
    }

    public void setLinuxLocation(String linuxLocation) {
        this.linuxLocation = linuxLocation;
    }
}
